package com.dao;

import com.entity.City;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CityDAO {
    List<City> selectAll(@Param("offset")Integer offset,@Param("limit")Integer limit);
    Integer selectCount();
    City selectOne(@Param("cityId") Integer cityId);
    Integer update(@Param("city")City city);
    void insert(City city);
}
